Revert "updated code"

This reverts commit 7381fe5ad34dd8b8b52224d516acaef79bceab16.
updated