Procedure for task 10 added