Sample coding to showcase my coding pattern