Using a trigger to perform multiple statements