add delay and kill whitespaces