added the ability to add null
working on examples
added comments and explanation