S10 related code