early chaining logic working
getOffset method