Why is this being executed instead of being made available as a library function?