changed blocks to flego