test2 partial code