made the component driven by a property