added slightly more correct checking if inner is called
updated readme, version