solution for properties.js