Created options hash instead of passing multiple variables to each method