added more comments
edited output text