removed comments and unnecessary text