debugging and adding variables
more debugging