solved alternating characters