using newer syntax for extending classes