added methods in lsp