reverting to harsha's code