rough draft of method for all public routes