integrated contactmanager into current code