changed the cornercounter