added text hooks