added stuff I missed to externs