Use callback style to align more with node standards