Added configurable offset