moved styling from internal to external