adding comparable class