Adding qs and qsa methods