Graph function now works, clear() doesn't