added graphics. fixed undefined object (picture)