basic contact adding, some small fixes