[+] added blocks and fixed contracts