added beginning and ending properties.