trying to curve the path