Hi Dolly, unfortunately coding style questions are off-topic on Stack Overflow as they are opinion-based. Check out the help center for more information on what questions are a good fit for the site. Code Review or Software Engineering may be a more appropriate site depending on the detail you can provide (e.g. full code for design/implementation improvement recommendations, or general design/paradigm recommendations, respectively). — TylerH 59 secs ago