initial commit - check that function pointers really work