Seperate class and define