getProperty method changed