Roger Federer reveals secret to remaining competitive