designing offline trigger
offline trigger