Added return 0 for OK response