got rid of die statements sued for debugging