simplifiyng usage by using components instead of properties.