added code & charts