replaced code for exe while assignment is ongoing