added and implemented graphics