learning about embeded type