define variable before using it