added a few foreign import declarations