use 0 instead of null, saves bytes