Added a new function to this class file