almost all base work done