Changed to extend plot