The Exceptions here are not catched. Need to investigate this further