add a few missing lines