last code polishing