add metabox fn and discount metabox