simple way to solve  #2, may resolve #10 also