add appular functions for init components