tested queries and building characters