added utils function example