Added more sample code I have tested...:

ued files: