added solution for 1