making int work