fill in the rest of the create code