basic SFML code