added text directive, still needs work