parameters added to main