updated to work interactively