seventh commit

updated validate and added counter and limiter