Tried adding getters and setters. Didn't work.