added first variables and 1 function