code was returning old method results