change structure because node sucks