adding support for extracting key and options, adding basic prose for expires in