working on sec4, almost done