changed scaling factor