better way of setting compliance