added option to load styles in three different modes