more typing

Signed-off-by: Paul Newman <pnewman@robots.ox.ac.uk>
updated with DB response switches

Signed-off-by: Paul Newman <pnewman@robots.ox.ac.uk>
updated

Signed-off-by: Paul Newman <pnewman@robots.ox.ac.uk>