adding events for item adding etc.