preparations for multi-theme feature