corrections and use of Hero class