created functionality for importing stuff