Added lag api call
bug fix
Lag should not be abstract
Lag demo