breakdown logic into smaller units..