removed a hardly used function