with onInit