rename algebra -> gaph