implement fun1 more wholemeal-y