Functions done up to 9 task