added multiple parameter support for "ls" function
minor notation correction