code added to latest pubs