adding scale implementation