Implementation of my dataClass