worthless: updated unused function