removed error logging