can't you use vars_post here instead of data?