added Medium details, refactoring of details