Added stage failed code. No animation yet.