Created class functions