ayooo ported the script to a class