Changing eid to int