added directive and styling