Determining just and unjust laws