started to solve #2