added support for extensions and changed ... to ***