updated comments for prototype code