doc changes/bug fixes/func encirhment background fixed