Pubs model created