begin: removed query ui, using query min