Created code to allow for multiple sequential operators