Removed debug info, added comments.