added lighting code