Modified by srivatsa1987