conditional and marginal kinda working