added extractProperties.m