work towards edit and create, lots of problems with framework