Removed error logs used for debugging and unused functions