bugfix: updated parameters in call from main()