removed unused function declarations
more removals of unused function declarations