added a purchases table