used widget API instead of setAliases