Created base for functions.