added offset tables for I and O