Added ability for the offset to be a selector