access mode by int