index styling and counter method
counter update removed