updated method for getting system name