added swc guide, fixed minor bugs
added swc guide, fixed minor bugs