clean version for running sferes