Added Code for All Events for Building

Getting errors though