near working version