Completed Assignment

Labelled and completed functions.