bartek isA vs any
minor typos fixed
minor changes