experiment with trim function