The magnetic vial unit