updated for use in component(1)