adding complete function and variable lookups