added doc
removed regex after not being needed
fixed comments