added hover State to query class