Added logic for main projection
Removed extra logging for debugging