added autoward