more work on scaling