added delay in commands