This contains example codes which can be directly used as per requirements