tanduy implemented task #3