added sleep for more realistic behaviour of dummy