This is a sample for learning algorithm