custom scale implementation step 1