Added more quick checks to rachelRiley function.