made a seperate class for the Pattern List