move public method before protected ones