fix for unused function