Added some variables and first function.