# Adapted import r