Adding two functions for assessment.