simulation test bed working. about to integrate