added support for different projection