Fix blinds, condense code