Adding comments

This will help with debugging.