added fixed ans functionality