Added initial logic.