working towards dataframe inputs