added solution without extensions