Added needed functionality for creating variables