made counter and changed background