Added proprietary function that will be obsolete when site is redone