adding getters and changing demo console