removed unnecessary require
updated for new class creation