Made some modifications and added a sticky footer TODO comment and format the code