update todo
test handlers
test decode handler