forget to add alloc_model to print function to protect brackets