added getter/setter and constructor variables