updated interfaces code