First functional code with images