almost done with triggers and views