replacing file with version from https://github.com/hraberg/Shen.java