adds resampling to documentation
adds tooltips