Started functions for assignment.