example for custom flex components