added square mask