static2 memory model works