update: classes wrapped in function, removing "new" statement
typo