transform utils almost