made cannon mass to int