removed hacky function that was only used in profundus