from bug1