Changed from long to int