2.6 (alloca changed to malloc)