copying contract tools over here