added Fatal function