updated query function
updated the query function to handle black properties
trying to push changes
stashing before merge
Revert "updated the query function to handle black properties"

This reverts commit fa9e206804edd175fc6804625ee23cf5096a4a2e.
Revert "Revert "updated the query function to handle black properties""

This reverts commit 4d5b470d3d614379b3811e3207e29a906cf0f060.