create should throw if name not provided
remove unused code and update usage info