Renamed the function, and called it in the initialization of the object