removed all the old code not longer relevant