added some scaling