New code for mid tsop for ladder