use spawn() properly