added thoughts about read in function