Created a few simple function generators