added support for different tile set selection methods