Finished basic smitc functionality