add required variables for extended functions
whitespace & formatting