added pulse check