updated block randomiser