changed type for id