new implementation of coord proj - needs testing