migrate minila
move to eg
simplize implement