added ls, etc
fixed warnings