pimp text insertion function