first steps towards PhOpt on a full module