implemented simple component and history dumy