added method getIds