add support for calling functions that have double arguments