Quick code refinement

Hope it helps! :palm_tree: