lots of bugs fix, new opacity