make sure fn calls work as expected