added optional arguments to call method