adding some global functions for setting styles