minor changes and added method to check component registered