added delay to make firing work