remove unnecessary comments. working version