changed Inherits from static to object func
updated go doc