Added validation before using get and set acessors