core funcs done
core funcs done

lil mistake in commented out code
make example=(x,t)?