adding plot