Sleep function doesn't work, 2 secounds should suffice