working on passing on vars