adding graphics layer