getting ready for stephans code