smart watch base code