Added some more functions I'd used for assignments.