Added first version of createStyleParameters function