Added goBlock() function