add style endpoints
re-factor endpoints
re-factor endpoints