put train code in the search parameters