visual block prepare