first version of ls program