added getting errors