added permits object for use in querying database