rm unnecessary def