basic graphics class