Added lamda so topology can be used on the command line