renamed method to get optional parameters