added use of properties to nn