First working version without styling