Add 3 Class to be abstract and put into randomFunction class