added function but still 16/17. failing test is unrelated i think