Moved bit of code into right section