making options hash optional to keep existing api