updated. should be only 10 lines.