changed import statements, adapted main() for testing, MFP works with pointers