Add Graphics function