adding glue lamda pattern