plot 3 completed
small refactoring done