added method to create link from scratch