no need to use inspection when not in legacyapi
cleanup and extended comment
made instance query work on Android <4
completed comment