why isn't static working?