add get mime method