Need to change long to int