print the declearing method for alloc