updated graphics and code