converted base view callbacks to options