code is working but still not completed.