this idea was good, but against UNIX standards, leading to bugs