MPG added testing for optional arguments