Pointer calculations are not correct yet but function table lookups should work