expose scale to front end