moved code out of __init__.py for radar module