Updated format of console log - trying to access to appropriate properties