made the add and viewing work