removed static allocation used for testing.