Delete unnecessary partial code