wip-Development

working on tests next
what about if there are required_ids? That needs to be handled in the same area