made functions to call ls