cleaned up sec 6