reviewing prepfunctions to work with obs data.