Added pattern but I may change the structure for it