add int support