worked on front end and cleaned up the database