tutorial changes to add isActive column