Don't know if this is the best place, but there is some logic to it