working, tested, using import hooks