adding partial code

adding some sources