adding size to callback