add option callback on init