@ working on memory allocation problem
@ stablized test