added API to components