reverting back to original code