4th task was implemented