correcting import function