added word loading; added category selection