problems fixed
removed unused function