second cut
modified as per the need