Put style code in styles; func