adding basic e r diagram