addresses #13 - added color by factor