make texting work and get rid of indexjs by monica