use symlinks to reduce code duplication