more work on getting delete and create functionality working