Changed panic type