initial implementation of creating links