Added support for start, end and range options