Add general functions.

Will need to remove the noLoop() later. Included for now as a test.