stuck on printing accessed element