added in helper functions to gameobject