expand function styled