solution of ex06...
took me minutes *boring*