erroring code that still is in progress