pulling + some debugging stuff