same get variables as java, cpp versions