woops, forgot the C-style exports