trying to add allocation support to clone 1 of 21