Adding implementation of Data class