Working to a certain extent, needs to fix the decision when to put text.