Took out boundary detecter