make some logic easier