working on create, start at line 320