gob function addedn and all go registratoins refactored