adding beginning of exception handling
removing binary