add medium class