better typed resources