Create diamond-functions