same comment about options, you could do this without relying on the options hash