Replaced == with === and added getter functions