Created function for IC 17