This is super rough but actually applies our logic