server functional, moving onto CRUD design