added necessary core part from refactored virgo-base