Implemented checking for unsanitized inputs