Works for required, having trouble making it turn right in the corners where it needs to