added stuff to the main smb class