wrapper around select