more declarative variables, fixed printin