before graphics