Added comments and tested results till IC6