removed stray function from other attempt