removed error method