removed unneeded refresh-function