I have checked on stackoverflow and I am aware that some people had similar issue. However, there code had some errors which mine does not have. Therefore, I am making this