added initial ans last