finished work functionality. Closes #6