options and object API added