finally seems to work. had to make epsiols set $$ to null
working now. need to cleanup output