begin setup
mostly implemented samples, still some todo
completed implementation of samples()