starting to implement the class and the ranges