Added while command