Added Graphics code