correct use of extensions