cut method works with optional value