remove deprecated jooq stuff
implement and test simple funtion
write test to fail