Added a method to the data.h file