added option -b to 'alloc' command