changed create method