continued to debug creating entities problem