removed waitseconds