added the ability to turning corners off