create separate class