rename initobj to options