Added function for extraction interpretation + small modifications