removed setInterval-function