switch from getProperty to get