square working