implement a first goto prompt