creating the newClass script