changed options syntax; added options documentation