Added overrwrite keyword on overwritten methods
implemented GotoEndOfDocument