added ls functionality