made scaling work