parameters reading returns ints and doubles