added query to stampe.word.class.php