First Version of trigger handler with randoms