adding ls functionality