Cleaned up Code.
Added DocBlock