added base and offset implementation for STO's