(fix) removed unused function