Ok gotten local vars. TODO: stepping and code clean up