refactored docking station