Before changing projection function