added triggers and seq