First working version of extension