I heard you like logic in your views