Added Functions for assignment.