models modified to dynamically create tables for each point