switching from int to id