Done task 2 for different possible parameters