add swing control