change declarative way for components