implement create, close #2