method of allocation