Rough skeleton done.