Added offset and reverse options