working text rendering