cleans up method declarations
repositions brackets in method declarations