adding some missing defines