minor nit: what's wrong with the function?