declare the component as stateful