removed partial code