renamed fullname to $fullname for state