added setId method