added globals, reset, views still buggy

hmm have to fix view and also motion