works with 2 div (squares)