Recursive block, but not working properly atm.