changed to integer type