implement slope
implement comparator without tests
add empty classes