made a new get function