got rid of exceptions