Fixed tabs and added comments