conversion stuff - adding ui/db classes