Adding exercise functions.