added zerodivision catch if statement