clickable upload, type checker