removed progress variable

Removed the progress variable; will be incorporated in the function for
easier calls.