started class to refactor and ease my life