Title: A micromechanical approach to deformation and failure of discrete media