Commented code fully.