adding missing variables