updated Reserves search code based on example from akohler