add import method, testing of warnings