Moved code to correct region