Home Task #8 implemented

home task #8