FINALLY DONE WITH THE APPLICATION