debugging my incorrect projection code