Started work on memory allocation