embarassingly incomplete implementation of function definition