[TUTORIAL] Defining Allocation Method