added optional parameter to delegate methods