removed explicit use of 'long' numeric types