just the code copied from immemorial project (which will be removed
soon)