fixed counter problems. Added simple style.