Making component reusable