First working version. No IR included yet