Removed error logging