query view style and some misc stuff