exploratoty phase code updated