variable delcare check