made id string optional