a little coloser to working version
more modification