Code for http://magnetproject.us