forum function almost done