wow. such undefined behavior. many unexpecteds