changing position of the x-y parameter in get_block method.
made some tests for it also