procedure for multiple plots added