Initial commit with logic.