added options
added back form encoded support