add example of custom type assignment
add class & function comments