initial implementation for links