removed pre test func