for Getting and Cleaning data class