add support for long and double params