added go doc comments