First draft of proper set_caps