added solution 1