added search options to controllers