minor edits + added counter