moved name inside properties to be accessible