rename toIntmap to toIntMap