changed underlaying type to int