Added more foreign interaction functions. Too tired to code well.