adding multiple properties using defineProperties