updated code for create across the board
create/view patched up, essentially working