publish is almost working I think