added testing to learning, commented out other ways of increasing preciseness, CE handling still missing