deleted unsed import lines
baseDist has been introduced
import bd
made the class abstract