conditional imports works, kinda ugly