put triggers inside onready