edited contact integer fields and added id function