added struct to header and also prototype for expectation