rewrote this placeholder function