custom init in after init hook