added first name as row names in output data frame. updated examples