partial trap shortened