switch to dev and better documented patch