allocation block to local variable