Made interface of lef working