function pointer test established. overall program flow still needs to be figured out