updated for component