preparing for writing more functions