add medium problem