default id to 0, not sure if good idea