styling changes, and counter added