adding stm-delay