Added code to apply style to source