porting warden over to spneg