added some work on sec 5