Added comments like a good programmer should. Still figuring out callback.