Added code for GameObject interface