added some examples
change the scope of the properties and renamed some stuff