edited API, edited variable names, edited output strings