add type condition..