Adding auto learning feature implementation