adding action.query and .frame