get rid of exception as e syntax