first working version of approaching table