Initial swparse implementation