added BSProperties, more code for properties handling