got rid of dependency on phrases