another solution for 1.1