forgot to test a function