added sensor range event blocks