Defining functions to generate a bunch (Work in progress...)