remove testing code so that it can be sourced