makeing yield getter