implement alldata() as optional function for #76