basic ratio learner