added base and offset to display