Contact map almost implemented